﻿using B.S.BasicData.Domain;
using B.S.BasicData.ErrorCode;
using B.S.BasicData.Infrastcuture.Interfaces;
using MediatR;

namespace B.S.BasicData.Api.Write.Applications.Commands.Accounts
{
    public class AddQueryCommand:IRequest<ApiResult<object>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }


        /// <summary>
        /// 部门id
        /// </summary>
        public int DpetId { get; set; }

        /// <summary>
        /// 角色id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }


        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }




        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; } = 0;


    }
}
